﻿Public Class Producto
    Dim codProducto As Integer
    Dim nombre As String
    Dim descripcion As String
    Dim stockActual As Double
    Dim stockDisponible As Double
    Dim stockReservado As Double
    Dim stockRiesgo As Double
    Dim precio As Double
    Dim unidad As New UnidadMedida()
    Dim marca As New Marca()
    Dim tipoProducto As New TipoProducto()

    Public Property _codProducto As Integer
        Get
            Return codProducto
        End Get
        Set(value As Integer)
            codProducto = value
        End Set
    End Property
    Public Property _nombre As String
        Get
            Return nombre
        End Get
        Set(value As String)
            nombre = value
        End Set
    End Property
    Public Property _descripcion As String
        Get
            Return descripcion
        End Get
        Set(value As String)
            descripcion = value
        End Set
    End Property
    Public Property _stockActual As Double
        Get
            Return stockActual
        End Get
        Set(value As Double)
            stockActual = value
        End Set
    End Property
    Public Property _stockDisponible As Double
        Get
            Return stockDisponible
        End Get
        Set(value As Double)
            stockDisponible = value
        End Set
    End Property
    Public Property _stockReservado As Double
        Get
            Return stockReservado
        End Get
        Set(value As Double)
            stockReservado = value
        End Set
    End Property
    Public Property _stockRiesgo As Double
        Get
            Return stockRiesgo
        End Get
        Set(value As Double)
            stockRiesgo = value
        End Set
    End Property
    Public Property _precio As Double
        Get
            Return precio
        End Get
        Set(value As Double)
            precio = value
        End Set
    End Property
    Public Property _Unidad As UnidadMedida
        Get
            Return unidad
        End Get
        Set(value As UnidadMedida)
            unidad = value
        End Set
    End Property
    Public Property _marca As Marca
        Get
            Return marca
        End Get
        Set(value As Marca)
            marca = value
        End Set
    End Property
    Public Property _tipoProducto As TipoProducto
        Get
            Return tipoProducto
        End Get
        Set(value As TipoProducto)
            tipoProducto = value
        End Set
    End Property


End Class
